home *** CD-ROM | disk | FTP | other *** search
/ Anatomy & Physiology Int…ve e-Source (5th Edition) / Seeley Stephens Tate - Anatomy and Physiology Interactive e-Source Fifth Edition (0-07-240154-0)(Release 1.0)(2000).iso / SETUP / spchapi.exe / RCDATA / CABINET / vcmd.exe / BINARY / 113 < prev   
Text File  |  1997-06-30  |  9KB  |  396 lines

  1. [Space]
  2. "\n" "" ""
  3. "\r" "" ""
  4. "\t" "" ""
  5.  
  6. "" "\n" ""
  7. "" "\r" ""
  8. "" "\t" ""
  9.  
  10. "" "." ""
  11. "" "," ""
  12. "" "\\" ""
  13. "" ":" ""
  14. "" ";" ""
  15. "" "%" ""
  16. "" "?" ""
  17. "" "!" ""
  18.  
  19. "\" " "" ""
  20. "" "\"" " " {E"\""}
  21. "" "\"" ""  {O"\""}
  22.  
  23. "' " "" ""
  24. "" "'" " " {E"'"}
  25. "" "'" ""  {O"'"}
  26.  
  27. "\"." "" "  " {1}
  28. "\"." "" " "  {!1}
  29.  
  30. "\"?" "" "  " {1}
  31. "\"?" "" " "  {!1}
  32.  
  33. "\"!" "" "  " {1}
  34. "\"!" "" " "  {!1}
  35.  
  36. "'." "" "  " {1}
  37. "'." "" " "  {!1}
  38.  
  39. "'?" "" "  " {1}
  40. "'?" "" " "  {!1}
  41.  
  42. "'!" "" "  " {1}
  43. "'!" "" " "  {!1}
  44.  
  45. ")." "" "  " {1}
  46. ")." "" " "  {!1}
  47.  
  48. ")?" "" "  " {1}
  49. ")?" "" " "  {!1}
  50.  
  51. ")!" "" "  " {1}
  52. ")!" "" " "  {!1}
  53.  
  54. "* " "" ""
  55. "" "*" " " {E"*"}
  56. "" "*" ""  {O"*"}
  57.  
  58. "(" "" ""
  59. "A" ")" ""
  60.  
  61. "[" "" ""
  62. "A" "]" ""
  63.  
  64. "{" "" ""
  65. "A" "}" ""
  66.  
  67. "<" "" ""
  68. "A" ">" ""
  69.  
  70. .\period "" "  " {1}
  71. .\period "" " "  {!1}
  72.  
  73. "?" "" "  " {1}
  74. "?" "" " "  {!1}
  75.  
  76. "!" "" "  " {1}
  77. "!" "" " "  {!1}
  78.  
  79.  
  80. "" "/" ""
  81. "/A" "" ""
  82.  
  83. "-" "-" ""
  84. "--" "" " "
  85. "" "--" " "
  86. "-A" "" ""
  87. "" "-" ""
  88.  
  89.  
  90. [Capital]
  91. .\period
  92. !\exclamation-point
  93. ?\question-mark
  94.  
  95. Mr.
  96. Mrs.
  97. Ms.
  98. Dr.
  99. Mme.
  100.  
  101. "\n"
  102. "\r"
  103. "\t"
  104.  
  105. "\"\n"
  106. "\"\r"
  107. "\"\t"
  108.  
  109. "\"."
  110. "\"?"
  111. "\"!"
  112. " \"."
  113. " \"?"
  114. " \"!"
  115. "  \"."
  116. "  \"?"
  117. "  \"!"
  118.  
  119. "\" ."
  120. "\" ?"
  121. "\" !"
  122. "\"  ."
  123. "\"  ?"
  124. "\"  !"
  125.  
  126. "'."
  127. "'?"
  128. "'!"
  129. " '."
  130. " '?"
  131. " '!"
  132. "  '."
  133. "  '?"
  134. "  '!"
  135.  
  136. "' ."
  137. "' ?"
  138. "' !"
  139. "'  ."
  140. "'  ?"
  141. "'  !"
  142.  
  143. "( ."
  144. "( ?"
  145. "( !"
  146. "(  ."
  147. "(  ?"
  148. "(  !"
  149.  
  150. ")?"
  151. ")!"
  152. ")."
  153. " )."
  154. " )?"
  155. " )!"
  156. "  )."
  157. "  )?"
  158. "  )!"
  159.  
  160.  
  161. [Switch]
  162. 1= 1 "Spaces Between Sentences" "Places two spaces between sentences ending with a period, question mark, and exclamation point."
  163.  
  164. [Rules]
  165. // Start
  166. <Start> = <Integer19>
  167.  
  168. // Natural Numbers
  169. <Natural> = <Less1000000000000000Not>
  170. <Natural> = <Less1000000000000Not>
  171. <Natural> = <Less1000000000Not>
  172. <Natural> = <Less1000000Not>
  173. <Natural> = <Less1000Not>
  174. <Natural> = <Less100Not>
  175.  
  176. // Natural Numbers, zero through 19 are written out whole
  177. <Natural19> = <Less1000000000000000Not>
  178. <Natural19> = <Less1000000000000Not>
  179. <Natural19> = <Less1000000000Not>
  180. <Natural19> = <Less1000000Not>
  181. <Natural19> = <Less1000Not>
  182. <Natural19> = <Less100Not19>
  183.  
  184. // Integer, 0..19 not included
  185. <Integer19> = <Natural19>
  186. <Integer19> = <MinusNegative> "-" <Natural>
  187.  
  188. // 1..9
  189. <1..9> = one "1"
  190. <1..9> = two "2"
  191. <1..9> = three "3"
  192. <1..9> = four "4"
  193. <1..9> = five "5"
  194. <1..9> = six "6"
  195. <1..9> = seven "7"
  196. <1..9> = eight "8"
  197. <1..9> = nine "9"
  198.  
  199.  
  200. // Zero through nine
  201. <0..9> = zero "0"
  202. <0..9> = oh "0"
  203. <0..9> = <1..9>
  204.  
  205. // 10..19
  206. <10.19> = ten "10"
  207. <10.19> = eleven "11"
  208. <10.19> = twelve "12"
  209. <10.19> = thirteen "13"
  210. <10.19> = fourteen "14"
  211. <10.19> = fifteen "15"
  212. <10.19> = sixteen "16"
  213. <10.19> = seventeen "17"
  214. <10.19> = eighteen "18"
  215. <10.19> = nineteen "19"
  216.  
  217. // 20..99
  218. <20.99> = twenty "20"
  219. <20.99> = twenty-one "21"
  220. <20.99> = twenty-two "22"
  221. <20.99> = twenty-three "23"
  222. <20.99> = twenty-four "24"
  223. <20.99> = twenty-five "25"
  224. <20.99> = twenty-six "26"
  225. <20.99> = twenty-seven "27"
  226. <20.99> = twenty-eight "28"
  227. <20.99> = twenty-nine "29"
  228. <20.99> = twenty "2" <1..9>
  229. <20.99> = thirty "30"
  230. <20.99> = thirty-one "31"
  231. <20.99> = thirty-two "32"
  232. <20.99> = thirty-three "33"
  233. <20.99> = thirty-four "34"
  234. <20.99> = thirty-five "35"
  235. <20.99> = thirty-six "36"
  236. <20.99> = thirty-seven "37"
  237. <20.99> = thirty-eight "38"
  238. <20.99> = thirty-nine "39"
  239. <20.99> = thirty "3" <1..9>
  240. <20.99> = forty "40"
  241. <20.99> = forty-one "41"
  242. <20.99> = forty-two "42"
  243. <20.99> = forty-three "43"
  244. <20.99> = forty-four "44"
  245. <20.99> = forty-five "45"
  246. <20.99> = forty-six "46"
  247. <20.99> = forty-seven "47"
  248. <20.99> = forty-eight "48"
  249. <20.99> = forty-nine "49"
  250. <20.99> = forty "4" <1..9>
  251. <20.99> = fifty "50"
  252. <20.99> = fifty-one "51"
  253. <20.99> = fifty-two "52"
  254. <20.99> = fifty-three "53"
  255. <20.99> = fifty-four "54"
  256. <20.99> = fifty-five "55"
  257. <20.99> = fifty-six "56"
  258. <20.99> = fifty-seven "57"
  259. <20.99> = fifty-eight "58"
  260. <20.99> = fifty-nine "59"
  261. <20.99> = fifty "5" <1..9>
  262. <20.99> = sixty "60"
  263. <20.99> = sixty-one "61"
  264. <20.99> = sixty-two "62"
  265. <20.99> = sixty-three "63"
  266. <20.99> = sixty-four "64"
  267. <20.99> = sixty-five "65"
  268. <20.99> = sixty-six "66"
  269. <20.99> = sixty-seven "67"
  270. <20.99> = sixty-eight "68"
  271. <20.99> = sixty-nine "69"
  272. <20.99> = sixty "6" <1..9>
  273. <20.99> = seventy "70"
  274. <20.99> = seventy-one "71"
  275. <20.99> = seventy-two "72"
  276. <20.99> = seventy-three "73"
  277. <20.99> = seventy-four "74"
  278. <20.99> = seventy-five "75"
  279. <20.99> = seventy-six "76"
  280. <20.99> = seventy-seven "77"
  281. <20.99> = seventy-eight "78"
  282. <20.99> = seventy-nine "79"
  283. <20.99> = seventy "7" <1..9>
  284. <20.99> = eighty "80"
  285. <20.99> = eighty-one "81"
  286. <20.99> = eighty-two "82"
  287. <20.99> = eighty-three "83"
  288. <20.99> = eighty-four "84"
  289. <20.99> = eighty-five "85"
  290. <20.99> = eighty-six "86"
  291. <20.99> = eighty-seven "87"
  292. <20.99> = eighty-eight "88"
  293. <20.99> = eighty-nine "89"
  294. <20.99> = eighty "8" <1..9>
  295. <20.99> = ninety "90"
  296. <20.99> = ninety-one "91"
  297. <20.99> = ninety-two "92"
  298. <20.99> = ninety-three "93"
  299. <20.99> = ninety-four "94"
  300. <20.99> = ninety-five "95"
  301. <20.99> = ninety-six "96"
  302. <20.99> = ninety-seven "97"
  303. <20.99> = ninety-eight "98"
  304. <20.99> = ninety-nine "99"
  305. <20.99> = ninety "9" <1..9>
  306.  
  307. // Double digit
  308. <DoubleDigit> = <20.99>
  309. <DoubleDigit> = <10.19>
  310.  
  311. // Three digit number
  312. <TripleDigit> = hundred "1" <Less100Pad>
  313. <TripleDigit> = <1..9> hundred [opt] and <Less100Pad>
  314. <TripleDigit> = <1..9> hundred "00"
  315.  
  316. // Less that 100, not padded with zeros
  317. <Less100Not> = <1..9>
  318. <Less100Not> = <DoubleDigit>
  319. <Less100Not> = zero "0"
  320.  
  321. // Less that 100, not padded with zeros, don't do 0..19
  322. <Less100Not19> = <20.99>
  323.  
  324. // Less that 100, padded with zeros
  325. <Less100Pad> = "0" <1..9>
  326. <Less100Pad> = <DoubleDigit>
  327. <Less100Pad> = zero "00"
  328.  
  329. // Less than 1000, not padded with zeros
  330. <Less1000Not> = <TripleDigit>
  331.  
  332. // Less than 1000, padded with zeros
  333. //<Less1000Pad> = "000"
  334. <Less1000Pad> = "0" <Less100Pad>
  335. <Less1000Pad> = <TripleDigit>
  336.  
  337. // Less than 1,000,000, not padded with zeros
  338. <Less1000000Not> = <1..9> thousand ",000"
  339. <Less1000000Not> = <1..9> thousand [opt] and "," <Less1000Pad>
  340. <Less1000000Not> = <DoubleDigit> thousand ",000"
  341. <Less1000000Not> = <DoubleDigit> thousand [opt] and "," <Less1000Pad>
  342. <Less1000000Not> = <TripleDigit> thousand ",000"
  343. <Less1000000Not> = <TripleDigit> thousand [opt] and "," <Less1000Pad>
  344.  
  345. // Less than 1,000,000, padded with zeros
  346. <Less1000000Pad> = "000," <Less1000Pad>
  347. <Less1000000Pad> = thousand [opt] and "001," <Less1000Pad>
  348. <Less1000000Pad> = <Less1000Pad> thousand ",000"
  349. <Less1000000Pad> = <Less1000Pad> thousand [opt] and "," <Less1000Pad>
  350.  
  351. // Less than 1,000,000,000, not padded with zeros
  352. // Disable cause revamp natural: <Less1000000000Not> = <Less1000000Not>
  353. // "million" by itself is not converted - <Less1000000000Not> = million "1,000,000"
  354. // "million" by itself is not converted - <Less1000000000Not> = million [opt] and "1," <Less1000000Pad>
  355. <Less1000000000Not> = <Less100Not> million ",000,000"
  356. <Less1000000000Not> = <Less100Not> million [opt] and "," <Less1000000Pad>
  357. <Less1000000000Not> = <Less1000Not> million ",000,000"
  358. <Less1000000000Not> = <Less1000Not> million [opt] and "," <Less1000000Pad>
  359.  
  360. // Less than 1,000,000,000, padded with zeros
  361. <Less1000000000Pad> = "000," <Less1000000Pad>
  362. <Less1000000000Pad> = million [opt] and "001," <Less1000000Pad>
  363. <Less1000000000Pad> = <Less1000Pad> million ",000,000"
  364. <Less1000000000Pad> = <Less1000Pad> million [opt] and "," <Less1000000Pad>
  365.  
  366. // Less than 1,000,000,000,000, not padded with zeros
  367. // Disable cause revamp natural: <Less1000000000000Not> = <Less1000000000Not>
  368. // "billion" by itself is not converted - <Less1000000000000Not> = billion "1,000,000,000"
  369. // "billion" by itself is not converted - <Less1000000000000Not> = billion [opt] and "1," <Less1000000000Pad>
  370. <Less1000000000000Not> = <Less100Not> billion ",000,000,000"
  371. <Less1000000000000Not> = <Less100Not> billion [opt] and "," <Less1000000000Pad>
  372. <Less1000000000000Not> = <Less1000Not> billion ",000,000,000"
  373. <Less1000000000000Not> = <Less1000Not> billion [opt] and "," <Less1000000000Pad>
  374.  
  375. // Less than 1,000,000,000,000, padded with zeros
  376. <Less1000000000000Pad> = "000," <Less1000000000Pad>
  377. <Less1000000000000Pad> = billion [opt] and "001," <Less1000000000Pad>
  378. <Less1000000000000Pad> = <Less1000Pad> billion ",000,000,000"
  379. <Less1000000000000Pad> = <Less1000Pad> billion [opt] and "," <Less1000000000Pad>
  380.  
  381. // Less than 1,000,000,000,000,000, not padded with zeros
  382. // Disable cause revamp natural: <Less1000000000000000Not> = <Less1000000000000Not>
  383. // "trillion" by itself is not converted - <Less1000000000000000Not> = trillion "1,000,000,000,000"
  384. // "trillion" by itself is not converted - <Less1000000000000000Not> = trillion [opt] and "1," <Less1000000000000Pad>
  385. <Less1000000000000000Not> = <Less100Not> trillion ",000,000,000,000"
  386. <Less1000000000000000Not> = <Less100Not> trillion [opt] and "," <Less1000000000000Pad>
  387. <Less1000000000000000Not> = <Less1000Not> trillion ",000,000,000,000"
  388. <Less1000000000000000Not> = <Less1000Not> trillion [opt] and "," <Less1000000000000Pad>
  389.  
  390. // Less than 1,000,000,000,000,000, padded with zeros
  391. <Less1000000000000000Pad> = "000," <Less1000000000000Pad>
  392. <Less1000000000000000Pad> = trillion [opt] and "001," <Less1000000000000Pad>
  393. <Less1000000000000000Pad> = <Less1000Pad> trillion ",000,000,000,000"
  394. <Less1000000000000000Pad> = <Less1000Pad> trillion [opt] and "," <Less1000000000000Pad>
  395.  
  396.